#!/bin/sh

echo 'import data from hdfs!!!'
currDate=`date +%Y%m%d`
echo "the current time is '$currDate'"
hive -e "USE default;load data local inpath '/root/lagouHomework/azkaban/data/t1.dat' OVERWRITE INTO TABLE user_clicks PARTITION (dt='$currDate');"

